//
//  EditMyPhoto.h
//  Bespoke
//
//  Created by Cheng on 12/9/7.
//
//

#import <UIKit/UIKit.h>
#import "AccountInfo.h"

@protocol EditMyPhotoDelegate

-(void) uiViewTouched_EditMyPhoto:(BOOL)wasInSide;
-(void) PhotoSaveSuccess:(NSString *)BoardName;
-(void) CreatedNewBookPressed;

@end

@interface EditMyPhoto : UIView <UIAlertViewDelegate>
{
    IBOutlet UITextField *Tf_Title;
    IBOutlet UITextView *TVw_PhotoContent;
    IBOutlet UIButton *Bt_MyBoard;
    IBOutlet UIButton *Bt_Cancel;
    IBOutlet UITableView *TVw_MyBoardList;
    IBOutlet UIImageView *IVw_DropDownBG;
}

@property (nonatomic, strong) UIButton *Bt_MyBoard;
@property (nonatomic, strong) UIButton *Bt_Cancel;
@property (nonatomic, strong) UITextField *Tf_Title;
@property (nonatomic, strong) UITableView *TVw_MyBoardList;

@property (nonatomic, strong) NSData *ND_MyPhoto;
@property (nonatomic, strong) NSString *NS_MyPhotoName;
@property (nonatomic, strong) NSString *NS_PhotoType;
@property (nonatomic, strong) NSMutableArray *Array_AccountInfo;
@property (nonatomic, strong) NSMutableArray *Array_List;
@property (nonatomic, assign) int Row_selected;
@property (nonatomic, weak) id <EditMyPhotoDelegate> delegate;

- (void)initArray:(NSMutableArray *)BoardArray;
- (IBAction)Close:(id)sender;
- (IBAction)SavePhoto:(id)sender;
- (void)OpenEditMyPhoto:(NSMutableArray *)GetUserInfo GetPhoto:(NSData *)MyPhoto GetPhotoName:(NSString *)MyPhotoName GetPhotoType:(NSString *)MyPhotoType;

@end
